//
//  CommonPublicityItemViewModel.m
//  EnvironmentalProtection
//
//  Created by HCreater on 2018/10/22.
//  Copyright © 2018年 HCreater. All rights reserved.
//

#import "CommonPublicityItemViewModel.h"

@interface CommonPublicityItemViewModel ()

/// 商品模型
//@property (nonatomic, readwrite, strong) EnterpriseInfoData* epInfoData;

@end

@implementation CommonPublicityItemViewModel

- (instancetype)initWithData:(id)data cellHeight:(CGFloat)cellHeight
{
    self = [super init];
    if (self)
    {
        //        _epInfoData = data;
        
        _data = data;
        
        /// cellHeight+2（2容错）
        _cellHeight = MHUIScaleValue(cellHeight)+2;
    }
    
    return self;
}

@end
